testgtk: Rename pixmap => pixbuf in various places
authorBenjamin Otte <otte@redhat.com>
Fri, 6 Aug 2010 20:12:24 +0000 (22:12 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 10 Aug 2010 19:02:31 +0000 (21:02 +0200)
Now that we use Pixbufs for the tests instead of Pixmaps, we should name
the tests like that.

tests/testgtk.c

index 5ad59bfc40996d54e1937ac2f7052ecf6b04c9c8..5ef7ed7740ceee49fea302a4a8723703a0a9f786 100644 (file)
@@ -2881,7 +2881,7 @@ create_saved_position (GtkWidget *widget)
  */
 
 static void
-create_pixmap (GtkWidget *widget)
+create_pixbuf (GtkWidget *widget)
 {
   static GtkWidget *window = NULL;
   GtkWidget *box1;
@@ -2890,7 +2890,7 @@ create_pixmap (GtkWidget *widget)
   GtkWidget *button;
   GtkWidget *label;
   GtkWidget *separator;
-  GtkWidget *pixmapwid;
+  GtkWidget *pixbufwid;
 
   if (!window)
     {
@@ -2917,24 +2917,24 @@ create_pixmap (GtkWidget *widget)
       button = gtk_button_new ();
       gtk_box_pack_start (GTK_BOX (box2), button, FALSE, FALSE, 0);
 
-      pixmapwid = new_pixbuf ("test.xpm", window->window, NULL);
+      pixbufwid = new_pixbuf ("test.xpm", window->window, NULL);
 
-      label = gtk_label_new ("Pixmap\ntest");
+      label = gtk_label_new ("Pixbuf\ntest");
       box3 = gtk_hbox_new (FALSE, 0);
       gtk_container_set_border_width (GTK_CONTAINER (box3), 2);
-      gtk_container_add (GTK_CONTAINER (box3), pixmapwid);
+      gtk_container_add (GTK_CONTAINER (box3), pixbufwid);
       gtk_container_add (GTK_CONTAINER (box3), label);
       gtk_container_add (GTK_CONTAINER (button), box3);
 
       button = gtk_button_new ();
       gtk_box_pack_start (GTK_BOX (box2), button, FALSE, FALSE, 0);
       
-      pixmapwid = new_pixbuf ("test.xpm", window->window, NULL);
+      pixbufwid = new_pixbuf ("test.xpm", window->window, NULL);
 
-      label = gtk_label_new ("Pixmap\ntest");
+      label = gtk_label_new ("Pixbuf\ntest");
       box3 = gtk_hbox_new (FALSE, 0);
       gtk_container_set_border_width (GTK_CONTAINER (box3), 2);
-      gtk_container_add (GTK_CONTAINER (box3), pixmapwid);
+      gtk_container_add (GTK_CONTAINER (box3), pixbufwid);
       gtk_container_add (GTK_CONTAINER (box3), label);
       gtk_container_add (GTK_CONTAINER (button), box3);
 
@@ -10225,7 +10225,7 @@ struct {
   { "notebook", create_notebook },
   { "panes", create_panes },
   { "paned keyboard", create_paned_keyboard_navigation },
-  { "pixmap", create_pixmap },
+  { "pixbuf", create_pixbuf },
   { "progress bar", create_progress_bar },
   { "properties", create_properties },
   { "radio buttons", create_radio_buttons },